package com.example.common.model;

import java.io.Serializable;
import java.util.Date;

/**
        * @Auther: JJun
        * @Date: 2018/9/3 09:56
        * @Description:
        */
public class Article implements Serializable {
    private Integer id;

    private String articlename;

    private int userid;

    private String content;

    private String articleurl;

    private Date articletime;

    private Integer catalogid;

    private Integer replynum;

    private Integer likenum;

    @Override
    public String toString() {
        return "Article{" +
                "id=" + id +
                ", articlename='" + articlename + '\'' +
                ", userid=" + userid +
                ", content='" + content + '\'' +
                ", articleurl='" + articleurl + '\'' +
                ", articletime=" + articletime +
                ", catalogid=" + catalogid +
                ", replynum=" + replynum +
                ", likenum=" + likenum +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getArticlename() {
        return articlename;
    }

    public void setArticlename(String articlename) {
        this.articlename = articlename;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getArticleurl() {
        return articleurl;
    }

    public void setArticleurl(String articleurl) {
        this.articleurl = articleurl;
    }

    public Date getArticletime() {
        return articletime;
    }

    public void setArticletime(Date articletime) {
        this.articletime = articletime;
    }

    public Integer getCatalogid() {
        return catalogid;
    }

    public void setCatalogid(Integer catalogid) {
        this.catalogid = catalogid;
    }

    public Integer getReplynum() {
        return replynum;
    }

    public void setReplynum(Integer replynum) {
        this.replynum = replynum;
    }

    public Integer getLikenum() {
        return likenum;
    }

    public void setLikenum(Integer likenum) {
        this.likenum = likenum;
    }
}
